home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object,comp.software-eng,comp.lang.c++
- Path: blackbush.xlink.net!slsv6bt!slsv6bt!kanze
- From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763)
- Subject: Re: Moving from C to C++
- In-Reply-To: rmartin@oma.com's message of 16 Jan 1996 01:02:52 GMT
- Message-ID: <KANZE.96Jan16141218@slsvewt.lts.sel.alcatel.de>
- Sender: news@lts.sel.alcatel.de
- Organization: SEL
- References: <4cs44p$3pk@ixnews8.ix.netcom.com> <30F2A6BE.4A54@hboc.com>
- <RMARTIN.96Jan9220022@rcm.oma.com>
- <KANZE.96Jan10113025@slsvewt.lts.sel.alcatel.de>
- <RMARTIN.96Jan15190252@rcm.oma.com>
- Date: 16 Jan 1996 13:12:18 GMT
-
- In article <RMARTIN.96Jan15190252@rcm.oma.com> rmartin@oma.com (Robert
- C. Martin) writes:
-
- |> In article <KANZE.96Jan10113025@slsvewt.lts.sel.alcatel.de> kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) writes:
-
- |> In article <RMARTIN.96Jan9220022@rcm.oma.com> rmartin@oma.com (Robert
- |> C. Martin) writes:
-
- |> |> In article <30F2A6BE.4A54@hboc.com> "John A. Casavant" <john.casavant@hboc.com> writes:
-
- |> |> There are really two issues that you need to be aware of when
- |> |> moving to C++. First, C++ is a language that supports object
- |> |> programming, but is not a pure object language.
-
- |> |> Bah, and double Bah. There is no good definition of what a "pure"
- |> |> OOPL is, so it is meaningless to accuse C++ of "impurity". Even if
- |> |> there was a good definition of a "pure" OOPL, there is no indication
- |> |> that there is any benfit to be derived from such "pure-ness".
-
- |> To be too sensitive, Bob. All the original poster said is what Bjarne
- |> Stroustrup himself has said. C++ is a language which supports many
- |> programming idioms; OO is only one of them.
-
- |> Well, perhaps I was a bit sensitive.
-
- |> I think that the important point is: the fact that you are compiling
- |> your programs with a C++ compiler does not mean that you are doing OO.
-
- |> An associated point, which is just as important, is: The fact that you
- |> are compiling with X (where X can be any language you like
- |> e.g. Smalltalk, Eifel, etc), does not mean that you are doing OO.
-
- Probably true. At the very least, the choice of languages does not
- imply in any what the choice of methodologies for analysis or design.
-
- But... In practice, the `similarity' of C and C++ does encourage
- people to continue to do things in the same old way. Doing a small
- project in Smalltalk, for example, would probably do a lot to break
- the old patterns in your way of work, simply because the language *is*
- different.
-
- More generally, I think that in the same way learning a foriegn
- language requires learning new thought patterns, and thus acquiring a
- certain critical point of view with regards to your traditional
- thought patterns, learning a distinctly different programming language
- cannot help but improve your programming in your principal language.
-
- This is not just an OO question. For example, I would love the
- opportunity to do an application in a functional language. Learning a
- completely new idiom would open up new horizons, which I would no
- doubt also exploit in C++.
- --
- James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr
- GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
- Conseils, Θtudes et rΘalisations en logiciel orientΘ objet --
- -- A la recherche d'une activitΘ dans une region francophone
-
-